<style type="text/css">

#edit_item
{
padding:10px;
margin:50px;
background-color:#EFEFFB;
border:1px solid red;
outline-style:solid;
outline-width:thin;
}

#description
{
padding:10px;
margin:50px;
background-color:#EFEFFB;
border:1px solid red;
outline-style:solid;
outline-width:thin;
}
</style>

<html>
<head>
<title></title>
</head>
<body>

		<div id= "edit_item">
			<?php 
				if(isset($edit_item_id) && count($edit_item_id))
				{
			?>
						
		<div id= "images">
				<?php 
					if (isset($item_images) && count($item_images)) 
					{
						// the one with 2d imge array
					?>	<tr>
					<?php
						foreach($item_images as $image)
						{
				?>
							<td> <a aligh="left" href =  "<?php echo $images_dir_url.$image->filename; ?>" > 
								 <img src="<?php echo $images_dir_url.'thumbs/'.$image->filename; ?>" >  </a>
								
								<?php 
									//echo $image->caption;
								?>
							</td>
				<?php 		 
						} ?>
						</tr>	
			<?php	}
					else
					{ echo "<br>\n";
					} 
				?>       
		</div>
				<center id="description">
				<?php

					echo "Heading     : ".$description_heading."<br />\n<br />\n";
					echo "Description : ".$item_description."<br />\n";
				}
				?>
				</center>
		</div>


</body>
		</center>
</html>